Initializes a new instance of the LearningStoreTransactionScope class. LearningStore jobs executed within the scope use the specified transaction.
Parent Type: LearningStoreTransactionScope
Namespace: Microsoft.LearningComponents.Storage
Assembly: Microsoft.LearningComponents.Storage.dll
| C# |
|
public LearningStoreTransactionScope ( ) |
transaction
Transaction used by LearningStore operations within the scope.
| Exception type | Condition |
| ArgumentNullException | transaction is a null reference. |
| InvalidOperationException | A transaction already exists in this scope (i.e., this scope is nested inside another). |
See LearningStoreTransactionScope for more information.